import 'amfe-flexible/index.js'
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import Vant from 'vant'
import 'vant/lib/index.css'
import App from './App.vue'
import router from './router'
import VConsole from 'vconsole'
if (import.meta.env.VITE_VCONSOLE === 'on') {
  // eslint-disable-next-line no-unused-vars
  const vConsole = new VConsole()
}
const app = createApp(App)

app.use(createPinia())
app.use(router)
app.use(Vant)
app.use(Vant.Lazyload)

app.mount('#app')
